﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateTrip.aspx.cs" Inherits="ProjectSenior.CreateTrip" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <style type="text/css">
        .style1
        {
            width: 30%;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td class="style1">Trip Name :</td>
    <td>
        <asp:TextBox ID="TName" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
    <td class="style1">Start Date :</td>
    <td><asp:TextBox ID="SDate" runat="server" ReadOnly="true"></asp:TextBox>
&nbsp;<asp:Button ID="Button3" runat="server" Text="Choose Date" onclick="SBtnToggle_Click" /></td>
    </tr>
    <tr>
     <td class="style1"></td>
    <td><asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="SCalSelectDate" Visible="false"></asp:Calendar></td>
    </tr>
    <tr>
    <td class="style1">End Date :</td>
    <td><asp:TextBox ID="EDate" runat="server" ReadOnly="true"></asp:TextBox>&nbsp;
        <asp:Button ID="Button4" runat="server" Text="Choose Date" OnClick="EBtntoggle_Click"  /></td>
    </tr>
    <tr>
     <td class="style1"></td>
     <td><asp:Calendar ID="Calendar2" runat="server" OnSelectionChanged="ECalSelectDate" Visible="false"></asp:Calendar>
     </td>
    </tr>
    <tr>
    <td class="style1">Destination :</td>
    <td>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        </td>
    </tr>
    </table>
      
    
   
    </div>
    <p style="text-align: center">
        <asp:Button ID="Next" runat="server" Text="Next" Width="70" PostBackUrl="~/Trip.aspx" />
&nbsp;<asp:Button ID="Cancle" runat="server" Text="Cancle" Width="70" />
    </p>
    </form>
</body>
</html>
